<template>
  是否是管理员:<el-switch v-model="isAdmin"></el-switch>
  显示图片:<el-switch v-model="isShow"></el-switch>
  <hr>
  <img v-show="isShow" src="a.png" width="200" alt="">

</template>

<script setup>
  import {ref} from "vue";

  const isAdmin = ref(true);
  const isShow = ref(true);
</script>

<style scoped>

</style>